home *** CD-ROM | disk | FTP | other *** search
/ Erotic Games: Wanda's Race / Erotic Games: Wanda's Race.iso / mac / air_installers / AdobeAIR.exe / setup.swf / scripts / _TextAreaStyle.as < prev    next >
Text File  |  2009-02-12  |  1KB  |  39 lines

  1. package
  2. {
  3.    import mx.core.IFlexModuleFactory;
  4.    import mx.styles.CSSStyleDeclaration;
  5.    import mx.styles.StyleManager;
  6.    
  7.    public class _TextAreaStyle
  8.    {
  9.        
  10.       
  11.       public function _TextAreaStyle()
  12.       {
  13.          super();
  14.       }
  15.       
  16.       public static function init(param1:IFlexModuleFactory) : void
  17.       {
  18.          var fbs:IFlexModuleFactory = param1;
  19.          var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("TextArea");
  20.          if(!style)
  21.          {
  22.             style = new CSSStyleDeclaration();
  23.             StyleManager.setStyleDeclaration("TextArea",style,false);
  24.          }
  25.          if(style.defaultFactory == null)
  26.          {
  27.             style.defaultFactory = function():void
  28.             {
  29.                this.horizontalScrollBarStyleName = "textAreaHScrollBarStyle";
  30.                this.backgroundDisabledColor = 14540253;
  31.                this.borderStyle = "solid";
  32.                this.backgroundColor = 16777215;
  33.                this.verticalScrollBarStyleName = "textAreaVScrollBarStyle";
  34.             };
  35.          }
  36.       }
  37.    }
  38. }
  39.